<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ProjetMultimedia: Référence de la classe TiXmlAttribute</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ProjetMultimedia</div>
   <div id="projectbrief">doxygen du projet de MultiMedia</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li><a href="classes.html"><span>Index&#160;des&#160;structures&#160;de&#160;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&#160;des&#160;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&#160;de&#160;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Fonctions membres publiques</a> &#124;
<a href="#friends">Amis</a>  </div>
  <div class="headertitle">
<div class="title">Référence de la classe TiXmlAttribute</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TiXmlAttribute" --><!-- doxytag: inherits="TiXmlBase" -->
<p><code>#include &lt;<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a>&gt;</code></p>
<div class="dynheader">
Graphe d'héritage de TiXmlAttribute:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ti_xml_attribute.png" usemap="#TiXmlAttribute_map" alt=""/>
  <map id="TiXmlAttribute_map" name="TiXmlAttribute_map">
<area href="class_ti_xml_base.html" alt="TiXmlBase" shape="rect" coords="0,0,90,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab154afd3a4642739b3411c80af3a0394"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttribute" ref="ab154afd3a4642739b3411c80af3a0394" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#ab154afd3a4642739b3411c80af3a0394">TiXmlAttribute</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an empty attribute. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8cd69ced5416999a1e6c6487cb4309e"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttribute" ref="ad8cd69ced5416999a1e6c6487cb4309e" args="(const char *_name, const char *_value)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#ad8cd69ced5416999a1e6c6487cb4309e">TiXmlAttribute</a> (const char *_name, const char *_value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an attribute with a name and value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f8ea4f3037e8339cbd3e55d97ed08a9"></a><!-- doxytag: member="TiXmlAttribute::Name" ref="a6f8ea4f3037e8339cbd3e55d97ed08a9" args="() const " -->
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a6f8ea4f3037e8339cbd3e55d97ed08a9">Name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of this attribute. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67ec54cde5ef8dac7901ad63544c6d44"></a><!-- doxytag: member="TiXmlAttribute::Value" ref="a67ec54cde5ef8dac7901ad63544c6d44" args="() const " -->
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a67ec54cde5ef8dac7901ad63544c6d44">Value</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of this attribute. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cd782165fd71ed76685beb83c286bbd"></a><!-- doxytag: member="TiXmlAttribute::IntValue" ref="a5cd782165fd71ed76685beb83c286bbd" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a5cd782165fd71ed76685beb83c286bbd">IntValue</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of this attribute, converted to an integer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5133bf83273a3174ca456db6cec77847"></a><!-- doxytag: member="TiXmlAttribute::DoubleValue" ref="a5133bf83273a3174ca456db6cec77847" args="() const " -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a5133bf83273a3174ca456db6cec77847">DoubleValue</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the value of this attribute, converted to a double. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0ca3a874671104a4730f5b80e8b7df0"></a><!-- doxytag: member="TiXmlAttribute::NameTStr" ref="ad0ca3a874671104a4730f5b80e8b7df0" args="() const " -->
const TIXML_STRING &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>NameTStr</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#aa586c3a84fbee49e7ee59410744312b2">QueryIntValue</a> (int *_value) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb784556b9be373aa1ac6d30f35bb343"></a><!-- doxytag: member="TiXmlAttribute::QueryDoubleValue" ref="adb784556b9be373aa1ac6d30f35bb343" args="(double *_value) const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#adb784556b9be373aa1ac6d30f35bb343">QueryDoubleValue</a> (double *_value) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">QueryDoubleValue examines the value string. See <a class="el" href="class_ti_xml_attribute.html#aa586c3a84fbee49e7ee59410744312b2">QueryIntValue()</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f004727063df873bb46ced79e54f888"></a><!-- doxytag: member="TiXmlAttribute::SetName" ref="a8f004727063df873bb46ced79e54f888" args="(const char *_name)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a8f004727063df873bb46ced79e54f888">SetName</a> (const char *_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the name of this attribute. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea82a06505184ef86f477ad405fbbef9"></a><!-- doxytag: member="TiXmlAttribute::SetValue" ref="aea82a06505184ef86f477ad405fbbef9" args="(const char *_value)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#aea82a06505184ef86f477ad405fbbef9">SetValue</a> (const char *_value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e1fabff601b5de8628bb9ae5afef1b5"></a><!-- doxytag: member="TiXmlAttribute::SetIntValue" ref="a0e1fabff601b5de8628bb9ae5afef1b5" args="(int _value)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a0e1fabff601b5de8628bb9ae5afef1b5">SetIntValue</a> (int _value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value from an integer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4536d332a5e7704016e20b673dc7b996"></a><!-- doxytag: member="TiXmlAttribute::SetDoubleValue" ref="a4536d332a5e7704016e20b673dc7b996" args="(double _value)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a4536d332a5e7704016e20b673dc7b996">SetDoubleValue</a> (double _value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value from a double. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87ba25c30657dc484846622aaf2448e3"></a><!-- doxytag: member="TiXmlAttribute::Next" ref="a87ba25c30657dc484846622aaf2448e3" args="() const " -->
const <a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a87ba25c30657dc484846622aaf2448e3">Next</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next sibling attribute in the DOM. Returns null at end. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5f855e76d7b771ad92e3d37e1f2f9fe"></a><!-- doxytag: member="TiXmlAttribute::Next" ref="ad5f855e76d7b771ad92e3d37e1f2f9fe" args="()" -->
<a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>Next</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7388d7a2e51e2745b3e773ca93d3ca5f"></a><!-- doxytag: member="TiXmlAttribute::Previous" ref="a7388d7a2e51e2745b3e773ca93d3ca5f" args="() const " -->
const <a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a7388d7a2e51e2745b3e773ca93d3ca5f">Previous</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the previous sibling attribute in the DOM. Returns null at beginning. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86812214d424db622419f2fc4776c9c5"></a><!-- doxytag: member="TiXmlAttribute::Previous" ref="a86812214d424db622419f2fc4776c9c5" args="()" -->
<a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>Previous</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f5dfcd0e37d2bc15d5801f28dc10ca9"></a><!-- doxytag: member="TiXmlAttribute::operator==" ref="a7f5dfcd0e37d2bc15d5801f28dc10ca9" args="(const TiXmlAttribute &amp;rhs) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d600fbec27faed995726a3b22a4dacc"></a><!-- doxytag: member="TiXmlAttribute::operator&lt;" ref="a1d600fbec27faed995726a3b22a4dacc" args="(const TiXmlAttribute &amp;rhs) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5627960bf6f5f7da2e6a3d068e3b726e"></a><!-- doxytag: member="TiXmlAttribute::operator&gt;" ref="a5627960bf6f5f7da2e6a3d068e3b726e" args="(const TiXmlAttribute &amp;rhs) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="class_ti_xml_attribute.html">TiXmlAttribute</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a076eac731d6f1850323bf9710ae3ad17"></a><!-- doxytag: member="TiXmlAttribute::Parse" ref="a076eac731d6f1850323bf9710ae3ad17" args="(const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)" -->
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><b>Parse</b> (const char *p, <a class="el" href="class_ti_xml_parsing_data.html">TiXmlParsingData</a> *data, TiXmlEncoding encoding)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#aa0c7ee41a4ae95253c321399cd995b9f">Print</a> (FILE *cfile, int depth) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d1888fc5b3c3a0e1f8d61d06342608b"></a><!-- doxytag: member="TiXmlAttribute::Print" ref="a0d1888fc5b3c3a0e1f8d61d06342608b" args="(FILE *cfile, int depth, TIXML_STRING *str) const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>Print</b> (FILE *cfile, int depth, TIXML_STRING *str) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3af0691858fc430ba392c43fd4ff46c3"></a><!-- doxytag: member="TiXmlAttribute::SetDocument" ref="a3af0691858fc430ba392c43fd4ff46c3" args="(TiXmlDocument *doc)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetDocument</b> (<a class="el" href="class_ti_xml_document.html">TiXmlDocument</a> *doc)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Amis</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35a7b7f89f708527677d5078d41ce0bf"></a><!-- doxytag: member="TiXmlAttribute::TiXmlAttributeSet" ref="a35a7b7f89f708527677d5078d41ce0bf" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ti_xml_attribute.html#a35a7b7f89f708527677d5078d41ce0bf">TiXmlAttributeSet</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>An attribute is a name-value pair. Elements have an arbitrary number of attributes, each with a unique name.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>The attributes are not TiXmlNodes, since they are not part of the tinyXML document object model. There are other suggested ways to look at this problem. </dd></dl>
</div><hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="aa0c7ee41a4ae95253c321399cd995b9f"></a><!-- doxytag: member="TiXmlAttribute::Print" ref="aa0c7ee41a4ae95253c321399cd995b9f" args="(FILE *cfile, int depth) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Print </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>cfile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>depth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>All TinyXml classes can print themselves to a filestream or the string class (<a class="el" href="class_ti_xml_string.html">TiXmlString</a> in non-STL mode, std::string in STL mode.) Either or both cfile and str can be null.</p>
<p>This is a formatted print, and will insert tabs and newlines.</p>
<p>(For an unformatted stream, use the &lt;&lt; operator.) </p>

<p>Implémente <a class="el" href="class_ti_xml_base.html#a953033a3c8ccb7404e67b0be72562391">TiXmlBase</a>.</p>

</div>
</div>
<a class="anchor" id="aa586c3a84fbee49e7ee59410744312b2"></a><!-- doxytag: member="TiXmlAttribute::QueryIntValue" ref="aa586c3a84fbee49e7ee59410744312b2" args="(int *_value) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QueryIntValue </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>_value</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>QueryIntValue examines the value string. It is an alternative to the <a class="el" href="class_ti_xml_attribute.html#a5cd782165fd71ed76685beb83c286bbd" title="Return the value of this attribute, converted to an integer.">IntValue()</a> method with richer error checking. If the value is an integer, it is stored in 'value' and the call returns TIXML_SUCCESS. If it is not an integer, it returns TIXML_WRONG_TYPE.</p>
<p>A specialized but useful call. Note that for success it returns 0, which is the opposite of almost all other TinyXml calls. </p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir des fichiers suivants :<ul>
<li>C:/Users/Nicolas/Documents/ProjetMultimedia/Projet/<a class="el" href="tinyxml_8h_source.html">tinyxml.h</a></li>
<li>C:/Users/Nicolas/Documents/ProjetMultimedia/Projet/tinyxml.cpp</li>
<li>C:/Users/Nicolas/Documents/ProjetMultimedia/Projet/tinyxmlparser.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Énumérations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Fri May 13 2011 15:10:07 pour ProjetMultimedia par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
